find all points of inflection